Capture shell output after running python script that raised Exception

welcome to shbcf.ru